MyModules.define('container',[],function(){
	function getHtml () {
		var str = '<div class="wrap-widget container can-drag" data-id="'+this.datas.id+'" data-original-title="'+this.datas.name+'">';
		str += '</div>';
		
		return str;
	}
	class Child extends ContainWidgetObject {
	    constructor() {
	        super(); // 调用父类构造函数
	        // 子类可以添加自己的属性或方法
	        this.name = '容器';
	        this.flag_button = true;
		    this.datas = {
				//控件属性
				name: '容器', //控件名称
				type: 'container',
				value:{},
				childs: []
			};
			this.getHtml = getHtml;
			this.inputTemplate = function(id, value){
	            var str = widgetHtml.textArea('content', this.datas.value['content'], '');
	            return str;
	        };
	    }
	}
	return new Child();
});